| Total Complexity | 30 |
| Dependencies | 7 |
| Dependents | 0 |
| Total lines | 541 |
| Lines of code | 410 |
| Logical lines of code | 76 |
| Comment lines | 95 |
| Methods | 12 |
| Properties | 2 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| get_coupons_leaderboard() | 42 | 5 | 58 | |
| get_categories_leaderboard() | 42 | 5 | 58 | |
| get_products_leaderboard() | 42 | 5 | 58 | |
| get_customers_leaderboard() | 43 | 3 | 56 | |
| get_item_schema() | 43 | 1 | 62 | |
| get_allowed_items() | 54 | 3 | 21 | |
| get_items() | 60 | 3 | 12 | |
| get_collection_params() | 48 | 1 | 38 | |
| register_routes() | 53 | 1 | 27 | |
| get_leaderboards() | 65 | 1 | 9 | |
| prepare_item_for_response() | 69 | 1 | 6 | |
| get_public_allowed_item_schema() | 73 | 1 | 5 |